﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using HFController;
namespace HFWebApp.lawyeruser
{
    public partial class lawyercenter : BagePages
    {
        public hf.Model.Lawyer lawyer = null;
        //public 
        public int ReviewCount = 0;
        public int NoteCount = 0;
        protected void Page_Load(object sender, EventArgs e)
        {
            this.checkLawyerIsLogin();
            lawyer = this.getLoginLawyer();
            AnswerController.getController().getAnswerList(1, 1, "LawyerID=" + lawyer.ID.ToString(), out ReviewCount);
            LawyerController.getController().getLawyerNoteList(1, 1, "LawyerID=" + lawyer.ID.ToString(), out NoteCount);
        }
    }
}